#!perl
use strict;
use warnings;

use MT::Test tests    => 2;
use MT::Bootstrap App => 'MT::Tool';

# Try to confuse the parse with nested layouts and arguments
# of the same name.

run_test_tmpl(
    sub {
        <<TMPL;
<\$MTSetVar name="TRUE" value="Foo"\$>
<\$MTSetVar name="FALSE" value="Bar"\$>
<MTTestIs test_name="Nested layout 1" value="FOO"><\$MTTestLayout20 test="1"\$></MTTestIs>
<MTTestIs test_name="Nested layout 2" value="BAR"><\$MTTestLayout20 test="0"\$></MTTestIs>
TMPL
    }
);
